Game xếp hình Tetris C#

1 using System;
2 using
System.Windows.Forms;
3
4
5 namespace
Tetris
6 {

7     ///
<summary>
8     ///
Descripción breve de Utiles.
9     ///
</summary>
10     
public class Utiles
11     {
12         
public static bool ResolucionCorrecta(int ancho, int alto)
13         {
14             
bool correcto = false;
15             System.Drawing.Rectangle pantalla = Screen.PrimaryScreen.Bounds;
16             
if (pantalla.Width >= ancho && pantalla.Height >= alto)
17                 correcto =
true;
18             
return correcto;
19         
20         }
21     }
22 }



Game xếp hình Tetris C# 5.873 lượt xem

Gõ tìm kiếm nhanh...